-- GENERATED SPELL FOR [Commander Felstrom] --


function spell0_771(pUnit, Event) --@Felstrom Resurrection,Self--
pUnit:FullCastSpellOnTarget(3488,pUnit)
pUnit:RegisterEvent('Sorts_771', 3000, 1)
end

function Sorts_771(pUnit, Event)
local choix_sorts_771 = math.random(0, 0)
if choix_sorts_771 == 0 then
pUnit:RegisterEvent('spell0_771', 1, 1)
end
end

function mob771_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_771', math.random(1500, 3000), 1)
end

function mob771_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob771_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob771_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(771, 1, 'mob771_Action')
RegisterUnitEvent(771, 2, 'mob771_Leave')
RegisterUnitEvent(771, 3, 'mob771_Kill')
RegisterUnitEvent(771, 4, 'mob771_Die')
